package com.itcam.cm.pay.service.impl;

import com.itcam.cm.pay.service.PaymentService;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class PaymentServiceImpl implements PaymentService {
    @Override
    public void notifyPayment(Map<String, String> paramMap, HttpServletRequest request) {

        // 更新支付信息
        System.out.println("更新数据库payment_info表");

        // 更新订单信息
        System.out.println("更新数据库order_info表");

        // 更新商品信息
        System.out.println("更新数据库product_sku表");

        // 记录支付日志
        System.out.println("记录支付日志payment_log");

    }
}
